/*
 * @(#)AuthContext.java 2009-3-17
 * Copyright (c) 2008-2015 by CJK
 * All rights reserved.
 */
package net.beyond.common.auth;

/**
 * 验证上下文，封装用户的请求信息
 * 
 * @author Shmiluyu
 * @version 1.000 2009-3-17
 */
public class AuthContext {
	private Object user;
	private String requestURL;

	public AuthContext() {

	}

	/**
	 * @param user
	 * @param requestURL
	 * @param requestClass
	 * @param requestMethod
	 */
	public AuthContext(Object user, String requestURL, String requestClass,
			String requestMethod) {
		super();
		this.user = user;
		this.requestURL = requestURL;
	}

	public String getRequestURL() {
		return requestURL;
	}

	public void setRequestURL(String requestURL) {
		this.requestURL = requestURL;
	}

	public Object getUser() {
		return user;
	}

	public void setUser(Object user) {
		this.user = user;
	}

}
